<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!--     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 -->
    <title>bootstrap模板</title>
    <script type="text/javascript" src="js/jquery-1.12.4.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <script type="text/javascript"></script>
    <style type="text/css">
        div[class *='col-'] {
            /*             background-color: gold;
            border: 1px solid #000000; */
        }

        .box {
            height: 100px;
            max-width: 240px;
            background-color: pink;
            border: 1px solid #000000;
            margin: 20px auto ;
        }
    </style>

</head>

<body>

    <div class="container">
        <h1>栅格系统响应式</h1>
    </div>

    <div class="container">
        <div class="row">

            <div class="col-lg-3 col-md-3 col-sm-6">
                <div class="box"></div>
            </div>

            <div class="col-lg-3 col-md-3 col-sm-6">
                <div class="box"></div>
            </div>

            <div class="col-lg-3 col-md-3 col-sm-6">
                <div class="box"></div>
            </div>

            <div class="col-lg-3 col-md-3 col-sm-6">
                <div class="box"></div>
            </div>
        </div>

    </div>

</body>

</html>